builtins/commit: move commit modifier to auto-cleanup
authorLuca BRUNO <luca.bruno@coreos.com>
Wed, 18 Aug 2021 09:06:26 +0000 (09:06 +0000)
committerLuca BRUNO <luca.bruno@coreos.com>
Wed, 18 Aug 2021 09:06:26 +0000 (09:06 +0000)
commitb079c11381aa2b297652753d346b12b8112ef542
tree49790f375fafc36a663070a070329cba93a55179
parent87db562744cc47610ca2d7212259ded5b0f5fb0d
builtins/commit: move commit modifier to auto-cleanup

This reduces the usage of goto cleanup logic by porting the commit
modifier pointer to autoptr.
src/ostree/ot-builtin-commit.c